package com.hfmall.mapper;

import com.hfmall.entity.HfValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
public interface HfValueMapper extends BaseMapper<HfValue> {
  List<HfValue>  getValueByClassId(int classId); //查询规格值

  /**
   * 获取对应规格的值,不重复
   * @param className
   * @return List<String >
   */
  List<String > getAllOnceValueByClassName(String className);
}
